package com.tfswx.fljdmxyy.dto.sjzd;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 分类代码更新输入dto
 *
 * @Author 陈文佳
 * @Date 2023/03/24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FldmUpdateInputDTO implements Serializable {

    @ApiModelProperty(name = "dm", value = "代码", required = true)
    @NotBlank(message = "代码不能为空！")
    private String dm;

    @ApiModelProperty(name = "fdm", value = "父代码")
    private String fdm;

    @ApiModelProperty(name = "mc", value = "名称")
    private String mc;

    @ApiModelProperty(name = "lbbm", value = "类别编码")
    private String lbbm;

    @ApiModelProperty(name = "dmxh", value = "代码序号")
    private String dmxh;

    @ApiModelProperty(name = "bz", value = "备注")
    private String bz;
}